using System;
using System.Collections.Generic;

namespace YourNamespace.Models.Requests
{
    /// <summary>
    /// 批量排程请求模型
    /// </summary>
    public class BatchScheduleRequest
    {
        /// <summary>
        /// 计划开始日期
        /// </summary>
        public DateTime PlannedStartDate { get; set; }

        /// <summary>
        /// 计划结束日期
        /// </summary>
        public DateTime PlannedEndDate { get; set; }

        /// <summary>
        /// 选中的工人列表
        /// </summary>
        public List<WorkerInfo> SelectedWorkers { get; set; }

        /// <summary>
        /// 选中的机床列表
        /// </summary>
        public List<MachineInfo> SelectedMachines { get; set; }

        /// <summary>
        /// 生产计划ID列表
        /// </summary>
        public List<string> ProductionPlanningIds { get; set; }
    }

    /// <summary>
    /// 工人信息
    /// </summary>
    public class WorkerInfo
    {
        /// <summary>
        /// 工人工时ID
        /// </summary>
        public string WorkingHoursId { get; set; }

        /// <summary>
        /// 工人编号
        /// </summary>
        public string WorkerCode { get; set; }

        /// <summary>
        /// 工人名称
        /// </summary>
        public string WorkerName { get; set; }

        /// <summary>
        /// 部门
        /// </summary>
        public string Department { get; set; }

        /// <summary>
        /// 班组
        /// </summary>
        public string Team { get; set; }
    }

    /// <summary>
    /// 机床信息
    /// </summary>
    public class MachineInfo
    {
        /// <summary>
        /// 设备ID
        /// </summary>
        public string DeviceId { get; set; }

        /// <summary>
        /// 设备编号
        /// </summary>
        public string DeviceCode { get; set; }

        /// <summary>
        /// 设备名称
        /// </summary>
        public string DeviceName { get; set; }

        /// <summary>
        /// 设备状态
        /// </summary>
        public string DeviceState { get; set; }
    }
} 